
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("SPL_WAREDETAILS")] 
     public partial class Spl_WareDetails
    {
        public Spl_WareDetails()
        {
            this.Spl_WarehouseWarrantDetails = new HashSet<Spl_WarehouseWarrantDetails>();
            this.Spl_WarehouseAllocationDetails = new HashSet<Spl_WarehouseAllocationDetails>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("NAME")] 
     public string Name { get; set; }
        [Column("CODE")] 
     public string Code { get; set; }
        [Column("BARCODE")] 
     public string BarCode { get; set; }
        [Column("WARECATEGORYID")] 
     public string WareCategoryId { get; set; }
        [Column("UNIT")] 
     public string Unit { get; set; }
        [Column("LABLE")] 
     public string Lable { get; set; }
        [Column("BUYPRICE")] 
     public Nullable<decimal> BuyPrice { get; set; }
        [Column("SALEPRICE")] 
     public decimal SalePrice { get; set; }
        [Column("RETAILPRICE")] 
     public Nullable<decimal> RetailPrice { get; set; }
        [Column("REMARK")] 
     public string Remark { get; set; }
        [Column("VENDER")] 
     public string Vender { get; set; }
        [Column("BRAND")] 
     public string Brand { get; set; }
        [Column("COLOR")] 
     public string Color { get; set; }
        [Column("MATERIAL")] 
     public string Material { get; set; }
        [Column("SIZE")] 
     public string Size { get; set; }
        [Column("WEIGHT")] 
     public string Weight { get; set; }
        [Column("COMEFROM")] 
     public string ComeFrom { get; set; }
        [Column("UPPERLIMIT")] 
     public Nullable<decimal> UpperLimit { get; set; }
        [Column("LOWERLIMIT")] 
     public Nullable<decimal> LowerLimit { get; set; }
        [Column("PRIMECOST")] 
     public Nullable<decimal> PrimeCost { get; set; }
        [Column("PRICE1")] 
     public Nullable<decimal> Price1 { get; set; }
        [Column("PRICE2")] 
     public Nullable<decimal> Price2 { get; set; }
        [Column("PRICE3")] 
     public Nullable<decimal> Price3 { get; set; }
        [Column("PRICE4")] 
     public Nullable<decimal> Price4 { get; set; }
        [Column("PRICE5")] 
     public Nullable<decimal> Price5 { get; set; }
        [Column("PHOTO1")] 
     public string Photo1 { get; set; }
        [Column("PHOTO2")] 
     public string Photo2 { get; set; }
        [Column("PHOTO3")] 
     public string Photo3 { get; set; }
        [Column("PHOTO4")] 
     public string Photo4 { get; set; }
        [Column("PHOTO5")] 
     public string Photo5 { get; set; }
        [Column("ENABLE")] 
     public bool Enable { get; set; }
        [Column("CREATETIME")] 
     public System.DateTime CreateTime { get; set; }
    
        public virtual Spl_WareCategory Spl_WareCategory { get; set; }
        public virtual ICollection<Spl_WarehouseWarrantDetails> Spl_WarehouseWarrantDetails { get; set; }
        public virtual ICollection<Spl_WarehouseAllocationDetails> Spl_WarehouseAllocationDetails { get; set; }
    }
}
